<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>
        var num = 11;
        var str = 'zyw';
        var boo = true;
        var time = new Date();
        var obj = null;

        /*console.log(typeof(num))
        console.log(typeof(num) == 'number')
        console.log(typeof(str))
        console.log(typeof(boo))
        console.log(typeof(time))
        console.log(typeof(obj))*/

        /*
            js == 会类型转换
            === ,!== 不进行转换

         */
        console.log(1 === '1')
    </script>

</head>

<body>

</body>
</html>
